﻿using System;
using System.Collections.Generic;
using System.Data;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Module.BusinessLogic;

namespace Web
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                DataTable dt = new DataTable();
                if (!IsPostBack)
                {
                    dt = CMSContentsBL.GetAll(5, 1436, 5, 1);

                    if (dt != null && dt.Rows.Count > 0)
                    {
                        rpdata.DataSource = dt;
                        rpdata.DataBind();
                    }

                }
            }
            catch (Exception)
            {
            }
        }
    }
}